package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 模板内容关系表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_maintain_template_relation")
public class MaintainTemplateRelation extends TenantEntity {
    /**
     * 模板id
     */
    @TableField(value = "template_id")
    private Long templateId;

    /**
     * 模板分类id
     */
    @TableField(value = "tlt_id")
    private Long tltId;

    /**
     * 模板分类父级id
     */
    @TableField(value = "tlt_parent_id")
    private Long tltParentId;

    /**
     * 内容id
     */
    @TableField(value = "content_id")
    private Long contentId;

	@TableField(exist = false)
	private List<MaintainTemplateRelation> templateRelations;

}
